﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Workflow2211A.Domain.Entities;
using System.ComponentModel.DataAnnotations;

namespace Workflow2211A.Domain.IndependentBilling.DrugCategory
{
    /// <summary>
    /// 药品信息表
    /// </summary>
    public class DrugInfoModel:BaseEntity
    {

        /// <summary>
        /// 药品分类ID
        /// </summary>
        public long DrugCategoryId { get; set; }

        /// <summary>
        /// 药品名称
        /// </summary>
        public string? DrugName { get; set; }

        /// <summary>
        /// 剂量
        /// </summary>
        public string Dosage { get; set; }

        /// <summary>
        /// 功效
        /// </summary>
        public string? Effect { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 是否为处方药(1.处方药 0.非处方药)
        /// </summary>
        public bool IsPrescription { get; set; }

        /// <summary>
        /// 限购数量
        /// </summary>
        public int LimitQuantity { get; set; }

        /// <summary>
        /// 药品图片
        /// </summary>
        public string? DrugImage { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
    }
}
